package design.templateMethod.helingang;


/**
 * @program: LearningDemo
 * @description:
 * @author: Lenny
 * @create: 2019-08-21 20:21
 **/
public interface MaintenanceHandler {
    /**
     * 指定下一个处理者
     * @param handler
     */
    void setNextHandler(MaintenanceHandler handler);


   void check();

   void fixed();

   void wash();
}
